<!doctype html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
	<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
	<%
		String path = request.getContextPath();
		String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
	%>
	<%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/meta/meta.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
	<link rel="stylesheet" type="text/css" href="${path}/html/js/js-jsp/custom/dyActiveTable/css/dyActiveTable.css" />
	<script type="text/javascript" src="${path}/html/js/jquery.form.js"></script>
	<script type="text/javascript" src="${path}/html/js/js-jsp/st/contractDetail/contractDetailAdd.js?v=<%out.print(Math.random());%>"></script>
	<script type="text/javascript" src="${path}/html/js/js-jsp/common/select-plugin.js"></script>
	<script type="text/javascript" src="${path}/html/js/js-jsp/custom/dyActiveTable/js/dyActiveTable.js"></script>
	<%--excel解析工具--%>
	<script type="text/javascript" src="${path}/html/js/js-resource/js-xlsx/xlsx.full.min.js"></script>
</head>
	<body>
		<div class="place">
			<span>当前位置：</span>
			<ul class="placeul">
				<li><a href="${path}/contractDetail/index.do" style="background: transparent; border: none;">合同清单管理</a></li>
				<li>
					<a style="background: transparent; border: none;">添加合同清单</a>
				</li>
			</ul>
		</div>
		<form id="operate_form" name="operate_form" class="form" method="post" action="#" enctype="multipart/form-data">
			<div class="formbody gridFrom">
				<div class="formtitle"><span>合同信息</span></div>
				<dl>
					<dd>
						<span class="title" style="width:120px;">所属合同：</span>
						<input type="hidden" name="coId" id="coId" value="${coId}" style="width:255px; height: 32px">
						<input class="easyui-combobox" type="text" disabled="disabled"  name="contractList" id="contractList" editable="false" validType="selectNotEmpty['所属合同']" style="width:255px; height: 32px">
					</dd>
					<dd>
						<span class="title" style="width:120px;">表格导入：</span>
						<input class="easyui-filebox" id="importExcel" name="importExcel" data-options="buttonText:'选择表格',prompt:'请选择导入用表格', onChange:function(){ $('#importBtn').linkbutton({ disabled:false }) }" value="" style="width:255px; height: 32px" />
						<a id="downloadBtn" class="easyui-linkbutton" style="width:86px; height: 28px" > 模板下载 </a>
						<a id="importBtn" class="easyui-linkbutton" style="width:55px; height: 28px" > 导入 </a>
						<a id="emptyTable" class="easyui-linkbutton" style="width:55px; height: 28px" > 清空 </a>
					</dd>
				</dl>
				<div class="formtitle"><span>合同清单</span></div>
				<div id="activeTableForContractDetail" style="width:100%; height:400px; overflow: scroll;"></div>
			</div>
		</form>
		<div class="formbody" style="margin-left: 143px">
			<a id="optionContractDetail" class="easyui-linkbutton c1" style="width:120px; height: 35px">保存</a>
			&nbsp;&nbsp;&nbsp;
			<a href="${path}/contractDetail/index.do" class="easyui-linkbutton c1" style="width:120px; height: 35px">取消</a>
		</div>
	</body>
</html>